<template>
  <div>获取路由参数{{getParma}}</div>
</template>

<script setup>
// setup 组合式api 与 option api 的区别
console.log('Href....')
const { useRouter } = require('vue-router')
const router = useRouter()
console.log('router = ', router)
const getParma = router.currentRoute.value.query
console.log(getParma)
</script>

<style>

</style>
